package dao;
import entity.Ticket;
/**
 * Created by John.C on 2018/11/19.
 */
public interface TicketDao {
    //新增车票信息
    public void add(Ticket ticket);
    //根据发车地、到站地、发车时间和车型删除车票信息
    public void delete(Ticket ticket);
    //修改剩余车票的数量
    public void update(Ticket ticket);
    //根据发车地和到站地查询车票信息
    public Ticket query(String startPlace,String stopPlace);
}